<?php

class Duenoxresto extends MY_Model {
 
    function Duenoxresto()
    {
        // Call the Model constructor
        parent::MY_Model();

	$this->nombreTabla = "duenoxresto";
	$this->idT1= "idDuenoxresto";
	//$this->nombreCampo="nombre";

		$this->campos[] = array("realname" => "idDueno",
					"clase" => "opciones",
					"label" => "Dueno",
					"modelo" => "Dueno",
					"rules" => "required|integer");

		$this->campos[] = array("realname" => "idResto",
					"clase" => "opciones",
					"label" => "Restaurant",
					"modelo" => "Restaurant",
					"rules" => "required|integer");


    }
     
}


?>
